import MousetrapModule from 'mousetrap';
import { QuickActionController } from './controller';

export { commands, CommandsRegistry } from './command';
export * from './common';
export * from './constant';
export { QuickActionController } from './controller';
export * from './interface';
export * from './utils';
export { QuickActionModeRegister, quickActionModeRegister } from './quick-action-mode-register';

declare global {
  interface Window {
    Mousetrap: MousetrapModule.MousetrapStatic;
    quickAction: QuickActionController;
    isQuickActionInit: boolean;
  }

  export const Mousetrap: MousetrapModule.MousetrapStatic;
  export const quickAction: QuickActionController;
}
